package com.zhixiang.xaec.dao.performance.safeachievements.impl;

import java.util.List;
import org.springframework.stereotype.Repository;
import com.zhixiang.core.dao.impl.BaseDaoImpl;
import com.zhixiang.xaec.dao.performance.safeachievements.RatingProjectSetTreeDao;
import com.zhixiang.xaec.entity.performance.safeachievements.RatingProjectSetTree;

@Repository
public class RatingProjectSetTreeDaoImpl extends BaseDaoImpl<RatingProjectSetTree,Long> implements RatingProjectSetTreeDao{

    @Override
    public List<RatingProjectSetTree> findByParentId(Long id) {
        Object[] arrayOfObject={id};
        return findByHql("From RatingProjectSetTree where parentId=?",arrayOfObject);
    }

}
